package ManHinhChinh;

import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.SWT;
import org.eclipse.wb.swt.SWTResourceManager;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;

public class TongHopTonKhoSanPham {

	protected Shell shlTngHpTn;
	private Text text;
	private Table table;


	/**
	 * Open the window.
	 */
	public void open() {
		Display display = Display.getDefault();
		createContents();
		shlTngHpTn.open();
		shlTngHpTn.layout();
		while (!shlTngHpTn.isDisposed()) {
			if (!display.readAndDispatch()) {
				display.sleep();
			}
		}
	}

	/**
	 * Create contents of the window.
	 * @wbp.parser.entryPoint
	 */
	protected void createContents() {
		shlTngHpTn = new Shell();
		shlTngHpTn.setSize(615, 346);
		shlTngHpTn.setText("T\u1ED5ng H\u1EE3p T\u1ED3n Kho S\u1EA3n Ph\u1EA9m");
		
		Label lblNewLabel = new Label(shlTngHpTn, SWT.NONE);
		lblNewLabel.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblNewLabel.setBounds(29, 26, 55, 24);
		lblNewLabel.setText("K\u1EF3");
		
		text = new Text(shlTngHpTn, SWT.BORDER);
		text.setBounds(104, 26, 141, 21);
		
		Button btnNewButton = new Button(shlTngHpTn, SWT.NONE);
		btnNewButton.setBounds(297, 26, 75, 25);
		btnNewButton.setText("X\u00E1c nh\u1EADn");
		
		table = new Table(shlTngHpTn, SWT.BORDER | SWT.FULL_SELECTION);
		table.setBounds(10, 65, 579, 221);
		table.setHeaderVisible(true);
		table.setLinesVisible(true);
		
		TableColumn tblclmnNewColumn = new TableColumn(table, SWT.NONE);
		tblclmnNewColumn.setWidth(37);
		tblclmnNewColumn.setText("STT");
		
		TableColumn tblclmnNewColumn_1 = new TableColumn(table, SWT.NONE);
		tblclmnNewColumn_1.setWidth(79);
		tblclmnNewColumn_1.setText("T\u00EAn H\u00E0ng");
		
		TableColumn tblclmnNewColumn_2 = new TableColumn(table, SWT.NONE);
		tblclmnNewColumn_2.setWidth(126);
		tblclmnNewColumn_2.setText("S\u1ED1 L\u01B0\u1EE3ng T\u1ED3n \u0110\u1EA7u K\u1EF3");
		
		TableColumn tblclmnNewColumn_3 = new TableColumn(table, SWT.NONE);
		tblclmnNewColumn_3.setWidth(100);
		tblclmnNewColumn_3.setText("S\u1ED1 L\u01B0\u1EE3ng Nh\u1EADp");
		
		TableColumn tblclmnNewColumn_4 = new TableColumn(table, SWT.NONE);
		tblclmnNewColumn_4.setWidth(93);
		tblclmnNewColumn_4.setText("S\u1ED1 L\u01B0\u1EE3ng Xu\u1EA5t");
		
		TableColumn tblclmnNewColumn_5 = new TableColumn(table, SWT.NONE);
		tblclmnNewColumn_5.setWidth(135);
		tblclmnNewColumn_5.setText("S\u1ED1 L\u01B0\u1EE3ng T\u1ED3n Cu\u1ED1i K\u1EF3");

	}

}
